<script setup lang="ts">
defineProps<{
  county: {
    properties: {
      name: string
      adcode: string
    }
  }
}>()
</script>

<template>
  <div class="county-info">
    <h2>{{ county.properties.name }}</h2>
    <p>行政区划码: {{ county.properties.adcode }}</p>
    <!-- 可扩展更多县级信息 -->
  </div>
</template>

<style scoped>
.county-info {
  position: absolute;
  top: 20px;
  right: 20px;
  background: white;
  padding: 15px;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 1000;
  max-width: 300px;
}
</style>